|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectga.view.interfaces.MouseListener
ga.view.billard.BillardEvaluationState.ClickListener
private class BillardEvaluationState.ClickListener
Mouse listener to recognize clicks on objects.
Constructor Summary | |
---|---|
private |
BillardEvaluationState.ClickListener()
|
Method Summary | |
---|---|
void |
onAction(java.lang.String name,
boolean keyPressed,
boolean isDoubleClick,
float tpf)
Callback method for mouse events. |
Methods inherited from class ga.view.interfaces.MouseListener |
---|
isEnabled, onAction, setEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private BillardEvaluationState.ClickListener()
Method Detail |
---|
public void onAction(java.lang.String name, boolean keyPressed, boolean isDoubleClick, float tpf)
MouseListener
onAction
in class MouseListener
name
- Name of the action.keyPressed
- true
if the key is still pressed.isDoubleClick
- true
if it is a double click.tpf
- The time per frame.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |